package com.taoge.p4.common.constants;

/**
 * 错误码常量
 */
public class ErrorCode {
    public static final int SUCCESS_CODE = 200;
    public static final String SUCCESS_MSG = "success";

    public static final int ERROR_CODE = 500;
    public static final String ERROR_MSG = "error";

    public static final int PARAM_ERROR_CODE = 600;

    // 数据库操作异常
    public static final int DATA_ERROR_CODE = 501;
    public static final String DATA_ERROR_MSG = "数据库操作异常";
}
